//
//  LookInforTableViewCell.m
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/10/20.
//  Copyright © 2017年 bob. All rights reserved.
//

#import "LookInforTableViewCell.h"
#import "UILabel+NSAttributeString.h"
@implementation LookInforTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setList:(LookInforList *)list
{
    _list=list;
    
    if (list.value==nil) {
        
        list.value=@"";
    }
    
    self.InforLabel.attributedText=[self.InforLabel appStr:list.name andContenStr:list.value];
    
}

-(void)setAList:(AcountInList *)AList
{
    _AList=AList;
    
    
    if (AList.value==nil) {
        
        AList.value=@"";
    }
    
     self.InforLabel.attributedText=[self.InforLabel appStr:AList.name andContenStr:AList.value];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
